package com.erdos.hyt.mall.model;//

import io.swagger.annotations.ApiModelProperty;
import org.apache.ibatis.type.Alias;

import java.math.BigDecimal;//
import java.time.LocalDateTime;
import java.util.Date;//

/**
 * 商城会员
 * @author liurong
 * @date 2017年4月1日
 */
@Alias("mallMember")
public class MallMember {

    @ApiModelProperty(value = "会员ID")
    private Integer memberId;//会员ID

    @ApiModelProperty(value = "用户ID")
    private Integer userId;//用户ID

    @ApiModelProperty(value = "累计消费金额")
    private BigDecimal totalCost;//累计消费金额

    @ApiModelProperty(value = "用户等级")
    private String consumeLevel;//用户等级

    @ApiModelProperty(value = "登录时间")
    private LocalDateTime loginTime;//登录时间

    @ApiModelProperty(value = "最后购买时间")
    private LocalDateTime lastBuyTime;//最后购买时间

    @ApiModelProperty(value = "备注")
    private String memo;//备注

    @ApiModelProperty(value = "创建时间")
    private LocalDateTime createTime;//创建时间

    @ApiModelProperty(value = "创建人")
    private Integer createUser;//创建人

    @ApiModelProperty(value = "更新时间")
    private LocalDateTime updateTime;//更新时间

    @ApiModelProperty(value = "更新用户")
    private Integer updateUser;//更新用户

    @ApiModelProperty(value = "删除标记")
    private String delFlag;//删除标记

    public Integer getMemberId() {
        return memberId;//
    }

    public void setMemberId(Integer memberId) {
        this.memberId = memberId;//
    }

    public Integer getUserId() {
        return userId;//
    }

    public void setUserId(Integer userId) {
        this.userId = userId;//
    }

    public BigDecimal getTotalCost() {
        return totalCost;//
    }

    public void setTotalCost(BigDecimal totalCost) {
        this.totalCost = totalCost;//
    }

    public String getConsumeLevel() {
        return consumeLevel;//
    }

    public void setConsumeLevel(String consumeLevel) {
        this.consumeLevel = consumeLevel == null ? null : consumeLevel.trim();//
    }

    
    public String getMemo() {
        return memo;//
    }

    public void setMemo(String memo) {
        this.memo = memo == null ? null : memo.trim();//
    }

   

    public Integer getCreateUser() {
        return createUser;//
    }

    public void setCreateUser(Integer createUser) {
        this.createUser = createUser;//
    }

    

    public Integer getUpdateUser() {
        return updateUser;//
    }

    public void setUpdateUser(Integer updateUser) {
        this.updateUser = updateUser;//
    }

    public String getDelFlag() {
        return delFlag;//
    }

    public void setDelFlag(String delFlag) {
        this.delFlag = delFlag == null ? null : delFlag.trim();//
    }

    public LocalDateTime getLoginTime() {
        return loginTime;
    }

    public void setLoginTime(LocalDateTime loginTime) {
        this.loginTime = loginTime;
    }

    public LocalDateTime getLastBuyTime() {
        return lastBuyTime;
    }

    public void setLastBuyTime(LocalDateTime lastBuyTime) {
        this.lastBuyTime = lastBuyTime;
    }

    public LocalDateTime getCreateTime() {
        return createTime;
    }

    public void setCreateTime(LocalDateTime createTime) {
        this.createTime = createTime;
    }

    public LocalDateTime getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(LocalDateTime updateTime) {
        this.updateTime = updateTime;
    }
    
}